var origin = window.location.origin;
var hostUrl = '';
var baseUrl = '';
if (origin.indexOf('localhost') > -1) { //本地调取测试环境
    hostUrl = '/supply';
    baseUrl = 'https://cloud.supply.sxruanjian.cn';
} else {
    hostUrl = `${origin}/supply`;
    baseUrl = origin
}
export default hostUrl